
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>gui.helper &#8212;  1.0.0 documentation</title>
    <link rel="stylesheet" href="../../../_static/alabaster.css" type="text/css" />
    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
    <script type="text/javascript" src="../../../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../../_static/doctools.js"></script>
    <link rel="index" title="Index" href="../../../genindex/" />
    <link rel="search" title="Search" href="../../../search/" />
   
  <link rel="stylesheet" href="../../../_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <h1>Source code for gui.helper</h1><div class="highlight"><pre>
<span></span><span class="kn">import</span> <span class="nn">json</span>
<span class="kn">import</span> <span class="nn">pathlib</span>

<span class="kn">import</span> <span class="nn">os</span>
<span class="kn">from</span> <span class="nn">PyQt5.QtCore</span> <span class="k">import</span> <span class="n">Qt</span>
<span class="kn">from</span> <span class="nn">PyQt5.QtGui</span> <span class="k">import</span> <span class="n">QFont</span><span class="p">,</span> <span class="n">QColor</span>


<div class="viewcode-block" id="Configuration"><a class="viewcode-back" href="../../../attackTreeDraw.gui/#gui.helper.Configuration">[docs]</a><span class="k">class</span> <span class="nc">Configuration</span><span class="p">:</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    This class is the handler for the configuration.</span>
<span class="sd">    It holds the colors for the nodes and the font</span>
<span class="sd">    &quot;&quot;&quot;</span>

    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Dictionary for the colors</span>
<span class="sd">    &quot;&quot;&quot;</span>
    <span class="n">colors</span> <span class="o">=</span> <span class="p">{</span>
        <span class="s1">&#39;threat&#39;</span><span class="p">:</span> <span class="p">{</span>
            <span class="s1">&#39;node&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                     <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;composition&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                            <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;alternative&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                            <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;sequence&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                         <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;threshold&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                          <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()}</span>
        <span class="p">},</span>
        <span class="s1">&#39;countermeasure&#39;</span><span class="p">:</span> <span class="p">{</span>
            <span class="s1">&#39;node&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                     <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;composition&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                            <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;alternative&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                            <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;sequence&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                         <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;threshold&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                          <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()}</span>
        <span class="p">},</span>
        <span class="s1">&#39;default&#39;</span><span class="p">:</span> <span class="p">{</span>
            <span class="s1">&#39;node&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                     <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;composition&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                            <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;alternative&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                            <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;sequence&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                         <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()},</span>
            <span class="s1">&#39;threshold&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;background&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">white</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span> <span class="s1">&#39;border&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">(),</span>
                          <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">QColor</span><span class="p">(</span><span class="n">Qt</span><span class="o">.</span><span class="n">black</span><span class="p">)</span><span class="o">.</span><span class="n">name</span><span class="p">()}</span>
        <span class="p">},</span>
    <span class="p">}</span>
    <span class="n">font</span> <span class="o">=</span> <span class="kc">None</span>

<div class="viewcode-block" id="Configuration.checkConfigFile"><a class="viewcode-back" href="../../../attackTreeDraw.gui/#gui.helper.Configuration.checkConfigFile">[docs]</a>    <span class="nd">@staticmethod</span>
    <span class="k">def</span> <span class="nf">checkConfigFile</span><span class="p">():</span>
        <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Checks if there is a config file in $HOME/.attackTreeDraw</span>
<span class="sd">        If there is none an initial file will be created</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="o">.</span><span class="n">home</span><span class="p">(),</span> <span class="s1">&#39;.attackTreeDraw&#39;</span><span class="p">))</span><span class="o">.</span><span class="n">mkdir</span><span class="p">(</span><span class="n">parents</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">exist_ok</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
        <span class="k">if</span> <span class="ow">not</span> <span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="o">.</span><span class="n">home</span><span class="p">(),</span> <span class="s1">&#39;.attackTreeDraw/config.json&#39;</span><span class="p">))</span><span class="o">.</span><span class="n">is_file</span><span class="p">():</span>
            <span class="n">Configuration</span><span class="o">.</span><span class="n">saveConfig</span><span class="p">()</span></div>

<div class="viewcode-block" id="Configuration.loadConfigFile"><a class="viewcode-back" href="../../../attackTreeDraw.gui/#gui.helper.Configuration.loadConfigFile">[docs]</a>    <span class="nd">@staticmethod</span>
    <span class="k">def</span> <span class="nf">loadConfigFile</span><span class="p">():</span>
        <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Loads the configuration from the config file</span>
<span class="sd">        Calls Configuration.checkConfigFile() before to be sure there is a file</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">Configuration</span><span class="o">.</span><span class="n">checkConfigFile</span><span class="p">()</span>
        <span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="o">.</span><span class="n">home</span><span class="p">(),</span> <span class="s1">&#39;.attackTreeDraw/config.json&#39;</span><span class="p">),</span> <span class="s1">&#39;r&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">fp</span><span class="p">:</span>
            <span class="n">data</span> <span class="o">=</span> <span class="n">json</span><span class="o">.</span><span class="n">load</span><span class="p">(</span><span class="n">fp</span><span class="p">)</span>
        <span class="n">Configuration</span><span class="o">.</span><span class="n">colors</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">data</span><span class="p">[</span><span class="s1">&#39;colors&#39;</span><span class="p">])</span>
        <span class="n">Configuration</span><span class="o">.</span><span class="n">font</span> <span class="o">=</span> <span class="n">QFont</span><span class="p">()</span>
        <span class="n">Configuration</span><span class="o">.</span><span class="n">font</span><span class="o">.</span><span class="n">fromString</span><span class="p">(</span><span class="n">data</span><span class="p">[</span><span class="s1">&#39;font&#39;</span><span class="p">])</span></div>

<div class="viewcode-block" id="Configuration.saveConfig"><a class="viewcode-back" href="../../../attackTreeDraw.gui/#gui.helper.Configuration.saveConfig">[docs]</a>    <span class="nd">@staticmethod</span>
    <span class="k">def</span> <span class="nf">saveConfig</span><span class="p">():</span>
        <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Saves the configuration to the config file at $HOME/.attackTreeDraw</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="o">.</span><span class="n">home</span><span class="p">(),</span> <span class="s1">&#39;.attackTreeDraw&#39;</span><span class="p">))</span><span class="o">.</span><span class="n">mkdir</span><span class="p">(</span><span class="n">parents</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">exist_ok</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span>
        <span class="n">data</span> <span class="o">=</span> <span class="p">{</span><span class="s1">&#39;colors&#39;</span><span class="p">:</span> <span class="n">Configuration</span><span class="o">.</span><span class="n">colors</span><span class="p">,</span> <span class="s1">&#39;font&#39;</span><span class="p">:</span> <span class="n">Configuration</span><span class="o">.</span><span class="n">font</span><span class="o">.</span><span class="n">toString</span><span class="p">()}</span>
        <span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">pathlib</span><span class="o">.</span><span class="n">Path</span><span class="o">.</span><span class="n">home</span><span class="p">(),</span> <span class="s1">&#39;.attackTreeDraw/config.json&#39;</span><span class="p">),</span> <span class="s1">&#39;w&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">fp</span><span class="p">:</span>
            <span class="n">json</span><span class="o">.</span><span class="n">dump</span><span class="p">(</span><span class="n">data</span><span class="p">,</span> <span class="n">fp</span><span class="p">)</span></div></div>
</pre></div>

          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper"><div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="../../../">Documentation overview</a><ul>
  <li><a href="../../">Module code</a><ul>
  </ul></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../../../search/" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2018, Daniel Fischer.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.7.4</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>
      
    </div>

    

    
  </body>
</html>